package doxygenxml.compound;

/**********************************************************************************************
 * Copyright (c) 2001-2020 Liquid Technologies Limited. All rights reserved.
 * See www.liquid-technologies.com for product details.
 *
 * Please see products End User License Agreement for distribution permissions.
 *
 * WARNING: THIS FILE IS GENERATED
 * Changes made outside of ##HAND_CODED_BLOCK_START blocks will be overwritten
 *
 * Generation  :  by Liquid XML Data Binder 18.0.5.9988
 * Using Schema: CENSORED
 **********************************************************************************************/

// <summary>
// </summary>
public enum DoxSectionKind {
	UserMinusdefined,
	PublicMinustype,
	PublicMinusfunc,
	PublicMinusattrib,
	PublicMinusslot,
	Signal,
	DcopMinusfunc,
	Property,
	event_,
	PublicMinusstaticMinusfunc,
	PublicMinusstaticMinusattrib,
	ProtectedMinustype,
	ProtectedMinusfunc,
	ProtectedMinusattrib,
	ProtectedMinusslot,
	ProtectedMinusstaticMinusfunc,
	ProtectedMinusstaticMinusattrib,
	PackageMinustype,
	PackageMinusfunc,
	PackageMinusattrib,
	PackageMinusstaticMinusfunc,
	PackageMinusstaticMinusattrib,
	PrivateMinustype,
	PrivateMinusfunc,
	PrivateMinusattrib,
	PrivateMinusslot,
	PrivateMinusstaticMinusfunc,
	PrivateMinusstaticMinusattrib,
	Friend,
	Related,
	Define,
	Prototype,
	Typedef,
	enum_,
	Func,
	Var;

	// Converts a DoxSectionKind enumeration to a string (suitable for the XML document)
	public static String DoxSectionKindToString(doxygenxml.compound.DoxSectionKind enumValue) throws com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException {
		switch(enumValue)
		{
		case UserMinusdefined:
	    	return "user-defined";
		case PublicMinustype:
	    	return "public-type";
		case PublicMinusfunc:
	    	return "public-func";
		case PublicMinusattrib:
	    	return "public-attrib";
		case PublicMinusslot:
	    	return "public-slot";
		case Signal:
	    	return "signal";
		case DcopMinusfunc:
	    	return "dcop-func";
		case Property:
	    	return "property";
		case event_:
	    	return "event";
		case PublicMinusstaticMinusfunc:
	    	return "public-static-func";
		case PublicMinusstaticMinusattrib:
	    	return "public-static-attrib";
		case ProtectedMinustype:
	    	return "protected-type";
		case ProtectedMinusfunc:
	    	return "protected-func";
		case ProtectedMinusattrib:
	    	return "protected-attrib";
		case ProtectedMinusslot:
	    	return "protected-slot";
		case ProtectedMinusstaticMinusfunc:
	    	return "protected-static-func";
		case ProtectedMinusstaticMinusattrib:
	    	return "protected-static-attrib";
		case PackageMinustype:
	    	return "package-type";
		case PackageMinusfunc:
	    	return "package-func";
		case PackageMinusattrib:
	    	return "package-attrib";
		case PackageMinusstaticMinusfunc:
	    	return "package-static-func";
		case PackageMinusstaticMinusattrib:
	    	return "package-static-attrib";
		case PrivateMinustype:
	    	return "private-type";
		case PrivateMinusfunc:
	    	return "private-func";
		case PrivateMinusattrib:
	    	return "private-attrib";
		case PrivateMinusslot:
	    	return "private-slot";
		case PrivateMinusstaticMinusfunc:
	    	return "private-static-func";
		case PrivateMinusstaticMinusattrib:
	    	return "private-static-attrib";
		case Friend:
	    	return "friend";
		case Related:
	    	return "related";
		case Define:
	    	return "define";
		case Prototype:
	    	return "prototype";
		case Typedef:
	    	return "typedef";
		case enum_:
	    	return "enum";
		case Func:
	    	return "func";
		case Var:
	    	return "var";
		default:
	    	throw new com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException("Unknown enumeration value for doxygenxml.compound.DoxSectionKind [" + enumValue.toString() + "]");
		}
	}
	
	// 	Converts a string to a DoxSectionKind enumeration
	public static DoxSectionKind DoxSectionKindFromString(String enumValue) throws com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException {
		String enumCollapsedValue = com.liquid_technologies.ltxmllib18.WhitespaceUtils.collapse(enumValue);
		if (enumCollapsedValue.equals("user-defined"))
			return UserMinusdefined;
		else if (enumCollapsedValue.equals("public-type"))
			return PublicMinustype;
		else if (enumCollapsedValue.equals("public-func"))
			return PublicMinusfunc;
		else if (enumCollapsedValue.equals("public-attrib"))
			return PublicMinusattrib;
		else if (enumCollapsedValue.equals("public-slot"))
			return PublicMinusslot;
		else if (enumCollapsedValue.equals("signal"))
			return Signal;
		else if (enumCollapsedValue.equals("dcop-func"))
			return DcopMinusfunc;
		else if (enumCollapsedValue.equals("property"))
			return Property;
		else if (enumCollapsedValue.equals("event"))
			return event_;
		else if (enumCollapsedValue.equals("public-static-func"))
			return PublicMinusstaticMinusfunc;
		else if (enumCollapsedValue.equals("public-static-attrib"))
			return PublicMinusstaticMinusattrib;
		else if (enumCollapsedValue.equals("protected-type"))
			return ProtectedMinustype;
		else if (enumCollapsedValue.equals("protected-func"))
			return ProtectedMinusfunc;
		else if (enumCollapsedValue.equals("protected-attrib"))
			return ProtectedMinusattrib;
		else if (enumCollapsedValue.equals("protected-slot"))
			return ProtectedMinusslot;
		else if (enumCollapsedValue.equals("protected-static-func"))
			return ProtectedMinusstaticMinusfunc;
		else if (enumCollapsedValue.equals("protected-static-attrib"))
			return ProtectedMinusstaticMinusattrib;
		else if (enumCollapsedValue.equals("package-type"))
			return PackageMinustype;
		else if (enumCollapsedValue.equals("package-func"))
			return PackageMinusfunc;
		else if (enumCollapsedValue.equals("package-attrib"))
			return PackageMinusattrib;
		else if (enumCollapsedValue.equals("package-static-func"))
			return PackageMinusstaticMinusfunc;
		else if (enumCollapsedValue.equals("package-static-attrib"))
			return PackageMinusstaticMinusattrib;
		else if (enumCollapsedValue.equals("private-type"))
			return PrivateMinustype;
		else if (enumCollapsedValue.equals("private-func"))
			return PrivateMinusfunc;
		else if (enumCollapsedValue.equals("private-attrib"))
			return PrivateMinusattrib;
		else if (enumCollapsedValue.equals("private-slot"))
			return PrivateMinusslot;
		else if (enumCollapsedValue.equals("private-static-func"))
			return PrivateMinusstaticMinusfunc;
		else if (enumCollapsedValue.equals("private-static-attrib"))
			return PrivateMinusstaticMinusattrib;
		else if (enumCollapsedValue.equals("friend"))
			return Friend;
		else if (enumCollapsedValue.equals("related"))
			return Related;
		else if (enumCollapsedValue.equals("define"))
			return Define;
		else if (enumCollapsedValue.equals("prototype"))
			return Prototype;
		else if (enumCollapsedValue.equals("typedef"))
			return Typedef;
		else if (enumCollapsedValue.equals("enum"))
			return enum_;
		else if (enumCollapsedValue.equals("func"))
			return Func;
		else if (enumCollapsedValue.equals("var"))
			return Var;
		else
			// ##HAND_CODED_BLOCK_START ID="Default Enum doxygenxml.compound.DoxSectionKind"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
			throw new com.liquid_technologies.ltxmllib18.exceptions.LtInvalidValueException("Unknown enumeration value for doxygenxml.compound.DoxSectionKind [" + enumValue + "]");
			// ##HAND_CODED_BLOCK_END ID="Default Enum doxygenxml.compound.DoxSectionKind"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
	}
}

